package com.czy.seed.mvc.home.service.impl;

import com.czy.seed.mvc.base.service.impl.BaseServiceImpl;
import com.czy.seed.mvc.home.entity.WarnInfo;
import com.czy.seed.mvc.home.mapper.WarnInfoMapper;
import com.czy.seed.mvc.home.service.WarnInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WarnInfoServiceImpl extends BaseServiceImpl<WarnInfo> implements WarnInfoService {

    @Autowired
    private WarnInfoMapper warnInfoMapper;

    @Override
    public List<WarnInfo> selectStatistics(Long max) {
        return  warnInfoMapper.selectStatistics(max);
    }

}
